//
//  HSingleSeletView.h
//  NursingManages
//
//  Created by Zhen Huang on 17/9/26.
//  Copyright © 2017年 huangzhen. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "HShowALLQuesView.h"
typedef void(^SingleSelectActionBlock)(NSIndexPath *seleIndexPath, NSInteger btnTag ,BOOL isright ,NSInteger state);

typedef void(^SingleSelectDeleteActionBlock)();


@interface HSingleSeletView : UIView

@property (copy, nonatomic) SingleSelectActionBlock SingleSelectBlock;

@property (copy, nonatomic) SingleSelectDeleteActionBlock SingleDeleteBlock;


@property (strong, nonatomic) NSString    *seleIndexStr;

@property (strong, nonatomic) NSIndexPath *seleIndexPath;

@property (strong, nonatomic) HShowALLQuesView *infoView;


- (void)configure:(NSInteger)index dataArray:(NSArray *)dataArray headHeight:(CGFloat)height headTitle:(NSString *)title typeid:(NSString *)type_id ;

- (instancetype)initWithconfigure:(NSInteger)index
                        dataArray:(NSArray *)dataArray
                       headHeight:(CGFloat)height
                        headTitle:(NSString *)title
                           typeid:(NSString *)type_id
                      onlineArray:(NSArray *)array
                           res_id:(NSString *)res_id
                         FromType:(NSInteger)fromType
                       examDetail:(NSArray *)examDetail;

@end
